<%@ include file="/include.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <link type="text/css" rel="stylesheet" href="styles/default.css">
  <link type="text/css" rel="stylesheet" href="scripts/validator3/validator.css"> 
  <script type="text/javascript" language="JavaScript" src="scripts/jquery.js"></script>
  <script type="text/javascript" language="JavaScript" src="scripts/validator3/validator.js"></script>
  <script type="text/javascript" language="JavaScript" src="scripts/common.js"></script>
</head>
<body>
	<div class="main" style="width:50%;">
	<form id="MainForm" name="MainForm" action="CcyRateEdit.do" method="post" >
		<table style="width:100%;">
			<caption>
				报检代码
			</caption>
			<tr><td>
				<table  class="bean">
					<tr class="size">
					  <td width="26%"></td>
					  <td ><span class="errorinfo"><c:if test="${map.ccy.errorInfo!=null}">${map.ccy.errorInfo}</c:if><span></td>
					  <td width="20%" align="right">带<span  class="warning" >*</span>项必填</td>
					</tr>
					<tr>
					  <td class="formLabel">货币名</td>
					  <td>${map.ccy.ccyName}</td>
					  <td></td>
					</tr>		
					<tr>
					  <td class="formLabel"><span class="warning">*</span>每100元兑换</td>
					  <td><input type="text"  class="textst" name="rate" style="width:100px;" value="${map.ccy.rate}" DataType="Require" Message="汇率必填">美元</td>
					  <td></td>
					</tr>	
				</table>
			</td></tr>
			
			<tr class="button">
				  <td align="center">
				  	<div>
				  		<input type="hidden" value="${map.ccy.id}" name="id">
				  		<input type="hidden" value="${map.ccy.ccyId}" name="ccyId">
				  		<input type="hidden" value="${map.ccy.ccyName}" name="ccyName">
				  		<input type="hidden" value="${map.ccy.version}" name="version">
					    <input type="submit" value=" 提交 " id="submitButton" >
					    <input type="button" value=" 返回 " onClick="window.history.back();">
				  	</div>
				   </td>
				</tr>
		</table>
	</form>
	</div>
<script type="text/javascript">
 	$(document).ready(function(){
 		Validator.Setup({
			Name : "MainForm",
			ClickElement : "submitButton",
			DataSourceType : Validator.Enumerate.DataSourceType.Attribute,
			ValidateType : Validator.Enumerate.ValidateType.Click,
			AlertType : Validator.Enumerate.AlertType.SummarySingle
		});
 	});
 </script>
</body>
</html>
